package com.iterator.bean.wechat.tcy.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @author tean_cy
* @date 2021/1/12 17:35
购物车商品表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyCart {
    private Integer id;

    private Integer userId;

    private Integer goodsId;

    private String goodsSn;

    private String goodsName;

    private Integer productId;

    private BigDecimal price;

    private Integer number;

    private List<String> specifications;

    private Boolean checked;

    private String picUrl;

    @JsonFormat(pattern = "yyyy-yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date addTime;

    @JsonFormat(pattern = "yyyy-yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date updateTime;

    private Boolean deleted;
}